package top.kaoshanji.r1ch07a.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 代码清单-r1ch07a-155页a：控制器类的定义
 * @author kaoshanji
 * ^_^
 * create time 2025/4/29 15:34
 */
@Controller
public class HomeController {

    @RequestMapping("/home")
    public String home() {
        return "home.html";
    }

}
